package cz.mendelu.swi2.spravaUzivatelu.forms;

import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotEmpty;

public class FChangePassword {
	@NotEmpty
	@Size(min = 1, max = 50)
	private String oldpassword;
	@NotEmpty
	@Size(min = 1, max = 20)
	private String password;
	@NotEmpty
	@Size(min = 1, max = 20)
	private String passwordagain;

	public String getOldpassword() {
		return oldpassword;
	}

	public String getPassword() {
		return password;
	}

	public String getPasswordagain() {
		return passwordagain;
	}

	public void setOldpassword(String oldpassword) {
		this.oldpassword = oldpassword;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public void setPasswordagain(String passwordagain) {
		this.passwordagain = passwordagain;
	}
}
